package com.example.hxds.bff.driver.service;

import com.example.hxds.bff.driver.controller.form.*;
import com.example.hxds.common.util.R;
import org.springframework.stereotype.Service;

import java.util.HashMap;


public interface DriverService {
    public long registerNewDriver(RegisterNewDriverForm newDriverForm);

    public int updateDriverAuth(UpdateDriverAuthForm form);

    public HashMap login(LoginForm form);

    public HashMap searchDriverBaseInfo(SearchDriverBaseInfoForm form);

    public HashMap searchWorkbenchData(long driverId);

    public HashMap searchDriverAuth(SearchDriverAuthForm form);
}
